names = ['张三', '李四', '王五', '赵六', '李四', '张三', '赵六', '赵六', 
    '王五', '赵六', '刘德华']

# for循环统计
amount01 = []
for i in names:
    print(i)
    amount01.append(names.count(i))
print(amount01)
print(dict(zip(names, amount01)))

# 字典生成式，自动去重
amount02 = [names.count(i) for i in names]
print(amount02)
print(dict(zip(names, amount02)))